package com.lb.event;

import org.springframework.context.ApplicationEvent;

/**
 * 功能
 *
 * @author libin
 * @since 2.3.6
 */
public class CustomEvent extends ApplicationEvent {

    public CustomEvent(Object source) {
        super(source);
    }

    public static void main(String[] args) throws Exception {
        try {
            int i = 0 / 0;
        } catch (Exception e) {
            throw new Exception("kFC Crazy Thursday need 50¥");
        }
    }
}